<script setup>
const user = {name: 'John Doe', age: 30}
</script>

<template>
  <div class="scope">
    <slot :user="user"></slot>
  </div>
</template>

<style scoped>
.scope {
  width: 300px;
  background-color: blue;
}
</style>
